package com.itentbase.match.common.utils;

import java.util.Random;

/**
 * @author:wjl
 * @create: 2024-06-04 17:10
 * @Description:
 */
public class RandomUtils {
    public static Random RANDOM = new Random();

    /**
     * 获得随机数
     * @param min
     * @param max
     * @return int
     * @author wjl
     * @date 2024-06-04
     **/
    public static int getRandomInt(int min, int max) {
        return RANDOM.nextInt(max) + min;
    }
}
